﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yaml.Presentation.Parsing.TokenScanners {
    class FlowMappingEndTokenScanner : FlowEndTokenScanner {
        public FlowMappingEndTokenScanner(Scanner scanner)
            : base(scanner, '}') {
        }

        protected override Yaml.Presentation.Tokens.Token CreateToken() {
            return new Tokens.FlowMappingEndToken(Start, End, Scanner.State.FlowDepth);
        }
    }
}
